﻿using System;

namespace OperationPlugins.Proxies
{
    /// <summary>
    /// Used to active a proxy.
    /// </summary>
    public interface IProxyActivator
    {
        /// <summary>
        /// Activates a proxy.
        /// </summary>
        /// <typeparam name="T">The type</typeparam>
        /// <param name="proxyType">The proxy type</param>
        /// <returns>The proxy</returns>
        T Activate<T>(Type proxyType);
    }
}
